import { ECSComponent } from "../../../3rd/ECS/ECSComponent";
import { Vector3 } from "../../../Bridge/Vec";

export class PositionComponent extends ECSComponent
{
    pos:Vector3 = new Vector3();


    /**
     * 给PoistionSystem设置值判断做优化用，如果逻辑数据不变就没必要设置值
     */
    lastPos:Vector3 = new Vector3();

    // tweenPos:Vector3;

    constructor(v3:Vector3 = new Vector3(0,0,0))
    {
        super();
        this.pos =  v3;
    }

  
}